<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('teacher')} > ${i18n.getMessage('info')}">
	<a href="#" onclick="cc('teacher/showListOfferingTeacher.sgt?id=${teacher.id}')">${i18n.getMessage('offering')}</a>
	- <a href="#" onclick="cc('teacher/showEditTeacher.sgt?id=${teacher.id}')">${i18n.getMessage('edit')}</a>
	- <a href="#" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('teacher/deleteTeacher.sgt?id=${teacher.id}'); }">${i18n.getMessage('delete')}</a>
</@showTitle>

<table id="dataTable" align="center" cellspacing="5" cellpadding="0">
	<tr>
		<td class="name">${i18n.getMessage('firstName')}:</td>
		<td>${(teacher.firstName)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('midName')}:</td>
		<td>${(teacher.midName)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('lastName')}:</td>
		<td>${(teacher.lastName)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('dateOfBirth')}:</td>
		<td>${(teacher.dateOfBirth)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('gender')}:</td>
		<td>${i18n.getMessage((teacher.gender.key)!)}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('teacherType')}:</td>
		<td>${i18n.getMessage((teacher.teacherType.key)!)}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('nationality')}:</td>
		<td>${i18n.getMessage((teacher.nationality.key)!)}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('campus')}:</td>
		<td>${i18n.getMessage((teacher.campus.key)!)}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('email')}:</td>
		<td>${(teacher.email)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('phoneNumber')}:</td>
		<td>${(teacher.phoneNumber)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('active')}:</td>
		<td>${(teacher.active?string(i18n.getMessage('yes'),i18n.getMessage('no')))!}</td>
	</tr>
	<tr>
		<td class="name" style="vertical-align:top">${i18n.getMessage('comment')}:</td>
		<td><textarea name="comment" readonly style="width:350px;height:80px;background-color:#FFFAFA">${(teacher.comment)!}</textarea></td>
	</tr>
</table>